package cn.task.part2.part3.dao;

public class Customer extends Person{
	
	//顾客编号
	private String number;
	
	//是否在邮件里
	private Boolean isMail;
	
	private Person person;
	
	public Customer(String name,String address,String telephone,
			String number,Boolean isMail) {
		super(name,address,telephone);
		this.isMail = isMail;
		this.number = number;
	}
	
	public Customer() {
		
	}
	
	public Customer(Boolean isMail,String person) {
		this.isMail = isMail;
		this.number = number;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Boolean getIsMail() {
		return isMail;
	}

	public void setIsMail(Boolean isMail) {
		this.isMail = isMail;
	}

}
